from appium.webdriver.common.mobileby import MobileBy

from APPauto.test_APPauto_practice.test_enterprise_wechat_app.po_add_member.package.add_member_package import \
    AddMemberPackage


class AddressBookPackage:
    def __init__(self,driver):
        self.driver = driver

    def add_member(self):
        # 进入添加用户页面
        self.driver.find_element(MobileBy.XPATH,"//*[@text='添加成员']").click()
        return AddMemberPackage(self.driver)
